package com.kjtpay.design_pattern.visitor;

/**
 * 女人；要求稳定不变；ConcreteElementB
 */
class Woman extends Person {

    public Woman() {
        type = "女人";
    }

    @Override
    public String accept(Action action) {
        return action.getWomanConclusion(this);
    }
}
